const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  
  transpileDependencies: true,
  
  publicPath: process.env.NODE_ENV === 'production'
    ? "/eoms/" 
    : "/",
  devServer: {
    proxy: {
      "/backend": {
        target: 'http://localhost:8090',
        // target: 'http://shangxingkeji.cn',
        
        changeOrigin: true,
        // pathRewrite: {
        //   '^/api': ''
        // }
      }
    }
  }
})
